Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add include Dry::Monads[:result] to Rspec blocks #23

Merged
merged 2 commits into from
Jul 16, 2024

Conversation

cllns
Copy link
Member

@cllns cllns commented Jul 16, 2024

We currently don't allow people to opt-out of dry-operation on hanami new so it's safe to assume they'll have dry-monads as a transitive dependency. If they choose to remove it, it'll be clear that they can delete this line without any issues

@cllns cllns requested a review from timriley July 16, 2024 02:54
This keeps `support/rspec.rb` focused on the core RSpec configuration only, and remains consistent with our approach of dedicated spec/support/ files for high-level features.
@timriley
Copy link
Member

Great pickup, @cllns! I've updated this to generate the setup into spec/support/operations.rb to keep consistent with our overall arrangement (and to keep spec/support/rspec.rb focused on the core RSpec config only).

Will merge this in now and am very happy to see it going into beta1 :)

@timriley timriley merged commit 5adb31d into main Jul 16, 2024
6 checks passed
@timriley timriley deleted the add-include-dry-monads-result branch July 16, 2024 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants